﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Ongoal.Quotation.Service.Model.basemodel
{
    /// <summary>
    /// 数据源信息实体
    /// </summary>
   public class T_DataSource
    {
        //主键
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        //所属平台
        [SugarColumn(IsNullable = false, ColumnDescription = "所属平台")]
        public int BaseID { get; set; }
        //数据源名称
        [SugarColumn(IsNullable = false, ColumnDescription = "数据源名称")]
        public string Name { get; set; }
        //数据源类型
        [SugarColumn(IsNullable = false, ColumnDescription = "数据源类型")]
        public string SourceType { get; set; }
        //连接字符串
        [SugarColumn(IsNullable = false, ColumnDescription = "连接字符串")]
        public string ConnectString { get; set; }
        //数据库类型
        [SugarColumn(IsNullable = false, ColumnDescription = "数据库类型")]
        public int DatabaseType { get; set; }
        //备份策略
        [SugarColumn(IsNullable = true, ColumnDescription = "备份策略")]
        public int BackupType { get; set; }
        //备注
        [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
        public string Remark { get; set; }
        //创建人
        [SugarColumn(IsNullable = true, ColumnDescription = "创建人")]
        public int CreatorID { get; set; }
        //创建时间
        [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
        public DateTime CreateTime { get; set; }
        //修改人
        [SugarColumn(IsNullable = true, ColumnDescription = "修改人")]
        public int ModifyID { get; set; }
        //修改时间
        [SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
        public DateTime ModifyTime { get; set; }
        

    }
}
